#ifndef COMMAND_LIST_H
#define COMMAND_LIST_H

#include "command.h"
#include "arryimpl.h"

namespace gcode {

	class CommandList : private SmartArrayImpl<Command, 8>
	{
	public:
		CommandList()
		{
		}
		CommandList(CommandList &commandList)
		{
		}
		virtual ~CommandList()
		{
		}
		void operator=(CommandList &commandList)
		{
		}
		bool addCommand(const Command &command)
		{
			return SmartArrayImpl<Command, 8>::add(command);
		}
		Command *begin()
		{
			return SmartArrayImpl<Command, 8>::begin();
		}
		Command *end()
		{
			return SmartArrayImpl<Command, 8>::end();
		}
	};

} // namespace gcode

#endif
